package com.runa.rccprotocol.dto.runa;

import com.runa.rccprotocol.dto.AffirmDeny;

/**
 * @author zhuj
 */
public class RunaConcenAffirmDeny extends AffirmDeny {

    private boolean affirm;

    public RunaConcenAffirmDeny(boolean affirm) {
        this.affirm = affirm;
    }

    public RunaConcenAffirmDeny(String addrId, boolean affirm) {
        this.setAddress(addrId);
        this.affirm = affirm;
    }

    public boolean isAffirm() {
        return affirm;
    }

    public void setAffirm(boolean affirm) {
        this.affirm = affirm;
    }

    @Override
    public Boolean getData() {
        return affirm;
    }

}
